package com.example.webdemo.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;
import java.util.List;

@ToString
@Data
@AllArgsConstructor
@NoArgsConstructor

public class orders {
    private int order_id;
    private String order_no;
    private int cust_id;
    private double order_amount;
    private String order_status;
    private Date order_time;
    private Date pay_time;
    private Date delivery_time;
    private Date complete_time;
    private String order_remark;
    private int user_id;
    private Date create_time;
    private Date update_time;
    private List<orderitem> items; // 关联的订单项集合
    private List<customer>  customers; //关联的客户项集合
}
